package com.spa.modules.system.vo;

import java.io.Serializable;
import java.util.Date;

import org.apache.solr.client.solrj.beans.Field;

import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;

@Data
public class SearchMark implements Serializable {

    private static final long serialVersionUID = 1229830543809682342L;
    @org.springframework.data.annotation.Id 
    private String id;// 唯一主键

    @Field()
    private String value;// 标签的值

    @Field()
    private int type;// 类型

    @Field("datam_id")
    private int datamId;// 数据id

    @Field("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08")
    private Date createTime;// 创建时间
}
